package com.cqw.controller;

import com.cqw.mq.MqProvider;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-05-07 09:49
 * @Description:
 */
@RestController
@Slf4j
public class MqController {


    @Resource
    private MqProvider mqProvider;


    @GetMapping("provider")
    public String provider() {
        mqProvider.ceShi();
        return "OK";
    }


}
